Platform Explorer / Nuxeo Platform 2023.14

Component org.nuxeo.ecm.platform.task.lifecycle

Resolution Order

526
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>

<component name="org.nuxeo.ecm.platform.task.lifecycle">

  <extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
    point="lifecycle">

    <lifecycle name="task" defaultInitial="opened">
      <transitions>
        <transition name="end" destinationState="ended">
          <description>End the task</description>
        </transition>
        <transition name="cancel" destinationState="cancelled">
          <description>Cancel the task</description>
        </transition>
      </transitions>
      <states>
        <state name="opened" description="Task is open.">
          <transitions>
            <transition>end</transition>
            <transition>cancel</transition>
          </transitions>
        </state>
        <state name="ended" description="task has been ended">
        </state>
        <state name="cancelled" description="Task is cancelled">
        </state>
      </states>
    </lifecycle>

  </extension>

  <extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
    point="types">
    <types>
      <type name="TaskDoc">task</type>
    </types>
  </extension>

</component>